//
//  UINavigationController+JSKit.m
//  JSBasicFramework
//
//  Created by Apple on 2019/10/7.
//  Copyright © 2019 Apple. All rights reserved.
//

#import "UINavigationController+JSKit.h"



@implementation UINavigationController (JSKit)


- (void)popPreviouViewControllerWithNumber:(NSInteger)previouNumber{
    UIViewController *vc = self.childViewControllers[self.childViewControllers.count - previouNumber - 1];
    [self popToViewController:vc animated:YES];
}

@end
